home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / MacTCP / MacTCP Developer Tools / HyperCard MacTCP Toolkit 1.0 / TCP XCMD Docs / card_4612.txt < prev    next >
Encoding:
Text File  |  1994-11-21  |  779 b   |  32 lines

  1. -- card: 4612 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3170
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 9
  9. ----- text -----
  10. Function:
  11.  
  12. -- part contents for background part 1
  13. ----- text -----
  14. alphaSort(string,order)
  15.  
  16. -- part contents for background part 2
  17. ----- text -----
  18. Sort the lines of a string.
  19.  
  20. -- part contents for background part 3
  21. ----- text -----
  22. string
  23. order
  24.  
  25. -- part contents for background part 7
  26. ----- text -----
  27. string to be sorted
  28. "ascending" or "descending" (optional)
  29.  
  30. -- part contents for background part 4
  31. ----- text -----
  32. Sort and return the string parameter. If the order parameter is "ascending" or left off, sort in ascending alphanumeric order; if the order parameter is "descending", sort in descending alphanumeric order.